body {
  height: 100vh;
  margin: 0;
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.wrapper .list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 400px;
}
.wrapper .list:hover .title {
  transition: none;
  color: #333;
}
.wrapper .list:hover .sumary {
  height: 0;
  transition: none;
}
.wrapper .list:hover .item::before {
  transition: none;
  opacity: 0;
}
.wrapper .list .item {
  position: relative;
  padding: 10px 10px 10px 34px;
  cursor: pointer;
  counter-increment: num;
}
.wrapper .list .item:hover .title {
  color: rebeccapurple;
  transition: none;
}
.wrapper .list .item:hover .sumary {
  height: 40px;
  transition: none;
}
.wrapper .list .item:hover::before {
  opacity: 1;
  transition: none;
}
.wrapper .list .item::before,
.wrapper .list .item .sumary,
.wrapper .list .item .title {
  transition: 0s 9999s;
}
.wrapper .list .item:first-child .sumary {
  height: 40px;
}
.wrapper .list .item:first-child .title {
  color: rebeccapurple;
}
.wrapper .list .item:first-child::before {
  opacity: 1;
}
.wrapper .list .item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  opacity: 0;
  z-index: -1;
  background: linear-gradient(270deg, rgb(241, 236, 249) 0%, rgba(241, 236, 249, 0) 100%);
}
.wrapper .list .item .title {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
.wrapper .list .item .title::before {
  content: counter(num) " ";
  width: 25px;
  line-height: 30px;
  text-align: center;
  color: #fff;
  position: absolute;
  font-size: 14px;
  font-family: fantasy;
  left: 4px;
  background: center/100% 100% url();
}
.wrapper .list .item .sumary {
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  color: #666;
  font-size: 14px;
  height: 0;
}